import Onmember from '@/views/workbench/onmember/index/Index.vue'
import OnmemberDetails from '@/views/workbench/onmember/onmemberdetails/Index.vue'
import OnmemberModify from '@/views/workbench/onmember/modify/Index.vue'
import OnmemberOpen from '@/views/workbench/onmember/open/Index.vue'
import OnmemberCoupon from '@/views/workbench/onmember/coupon/Index.vue'
import UpVip from '@/views/workbench/onmember/upVip/Index.vue'

export default [
  {
    path: '/onmember',
    name: 'Onmember',
    component: Onmember,
    meta: {
      title: '会员管理'
    }
  },
  {
    path: '/onmember/onmemberdetails',
    name: 'OnmemberDetails',
    component: OnmemberDetails,
    meta: {
      title: '会员详情'
    }
  },
  {
    path: '/onmember/modify/:memberId',
    name: 'OnmemberModify',
    component: OnmemberModify,
    meta: {
      title: '修改会员信息'
    }
  },
  {
    path: '/onmember/open',
    name: 'OnmemberOpen',
    component: OnmemberOpen,
    meta: {
      title: '创建会员卡'
    }
  },
  {
    path: '/onmember/coupon',
    name: 'OnmemberCoupon',
    component: OnmemberCoupon,
    meta: {
      title: '优惠券列表'
    }
  },
  {
    path: '/onmember/upVip',
    name: 'UpVip',
    component: UpVip,
    meta: {
      title: '会员卡升级'
    }
  }
]
